
export function loginIn() {

    console.log('loginIn-active');

    return (dispatch) => {
        dispatch({
            type:'login_loading'
        });
        let inner_get = fetch('https://www.baidu.com')
            .then((res)=>{
                dispatch({
                    type: 'login_finish'
                });
            }).catch((e)=>{
                dispatch({
                    type: 'login_error'
                });
            });
    }
}

module.exports = {
    loginIn,
};